﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;

namespace OrkutAPILibrary.Entities
{
    /// <summary>
    /// Orkut Photo
    /// </summary>
    public class OrkutPhoto
    {
        /// <summary>
        /// Gets or sets the album id.
        /// </summary>
        /// <value>The album id.</value>
        [JsonProperty(PropertyName = "albumId")]
        public string AlbumId { get; private set; }

        /// <summary>
        /// Gets or sets the type.
        /// </summary>
        /// <value>The type.</value>
        [JsonProperty(PropertyName = "type")]
        public string Type { get; private set; }

        /// <summary>
        /// Gets or sets the photo URL.
        /// </summary>
        /// <value>The photo URL.</value>
        [JsonProperty(PropertyName = "url")]
        public Uri PhotoUrl { get; private set; }

        /// <summary>
        /// Gets or sets the id.
        /// </summary>
        /// <value>The id.</value>
        [JsonProperty(PropertyName = "id")]
        public string Id { get; private set; }

        /// <summary>
        /// Gets or sets the photo title.
        /// </summary>
        /// <value>The photo title.</value>
        [JsonProperty(PropertyName = "title")]
        public string PhotoTitle { get; set; }

        /// <summary>
        /// Gets or sets the photo description.
        /// </summary>
        /// <value>The photo description.</value>
        [JsonProperty(PropertyName = "description")]
        public string PhotoDescription { get; set; }

        /// <summary>
        /// Gets or sets the thumbnail URL.
        /// </summary>
        /// <value>The thumbnail URL.</value>
        [JsonProperty(PropertyName = "thumbnailUrl")]
        public Uri ThumbnailUrl { get; private set; }

        /// <summary>
        /// Gets or sets the type of the MIME.
        /// </summary>
        /// <value>The type of the MIME.</value>
        [JsonProperty(PropertyName = "mimeType")]
        public string MimeType { get; private set; }
    }
}
